projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4bc02d
)
xend: configuration option 'localtime = 1' is not honored for PV domains.
author
Keir Fraser
<keir@xensource.com>
Sat, 12 May 2007 11:44:20 +0000
(12:44 +0100)
committer
Keir Fraser
<keir@xensource.com>
Sat, 12 May 2007 11:44:20 +0000
(12:44 +0100)
This patch fixes an oversight when platform_* config options were
collected in a dictionary.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index 5c16baf6e79624e0606c9325c8b827d39ac59796..2d3174d8d7c87ea47871ec19cf663b777c32c8e8 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-1472,8
+1472,7
@@
class XendDomainInfo:
try:
self.image = image.create(self, self.info)
- localtime = self.info.get('platform_localtime', False)
- if localtime:
+ if self.info['platform'].get('localtime', 0):
xc.domain_set_time_offset(self.domid)
xc.domain_setcpuweight(self.domid, self.info['cpu_weight'])